//
//  NKBaseViewController.m
//  NewKY
//
//  Created by Dee on 2016/11/13.
//  Copyright © 2016年 Dee. All rights reserved.
//

#import "NKBaseViewController.h"

@interface NKBaseViewController ()

@end

@implementation NKBaseViewController


/**
 @return 主NAV
 */
-(NKMainNavigation *)getMainNavigation{
    
    NKMainNavigation *nav = (NKMainNavigation *)self.sideBarController.contentViewController;
    return nav;
}

/**
 @return 侧滑控制器
 */
-(NKLeftViewController*)getLeftViewController{
    
    NKLeftViewController *vc = [self.sideBarController.menuViewControllers.allValues firstObject];
    return vc;
    
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
        //SVP 属性
    [SVProgressHUD setMinimumDismissTimeInterval:2];
    [SVProgressHUD setDefaultStyle:SVProgressHUDStyleDark];
    [SVProgressHUD setDefaultMaskType:SVProgressHUDMaskTypeGradient];
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
}

@end
